package org.easy.tool.service;

import org.easy.tool.entity.Question;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.util.LinkedHashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Valley
 * @since 2025-02-17 19:58:35
 */
public interface IQuestion extends IService<Question> {

    public String askAI(String question);

    SseEmitter sseEmit(String message);

    boolean saveRecord(LinkedHashMap data);
}
